package com.gk.panda.apis.Vo.exports;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description 摄像机设备导出
 * @Author zhangguoqiao
 * @Date 2022/12/7 17:49
 * @Version 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ExcelTarget("video")
public class ExportDeviceVideoVO {

    @Excel(name = "所属机构", orderNum = "1", width = 35)
    private String orgName;

    @Excel(name = "设备名称", orderNum = "2", width = 30)
    private String deviceName;

    @Excel(name = "设备编号", orderNum = "3", width = 20)
    private String deviceSn;

    @ExcelIgnore
    private Integer ifPtz;

    @Excel(name = "是否球机", orderNum = "4", width = 20)
    private String ifPtzName;

    @Excel(name = "设备类型", orderNum = "5", width = 20)
    private String deviceType;

    @Excel(name = "地点", orderNum = "6", width = 35)
    private String deviceAddress;

    @Excel(name = "经度", orderNum = "7", width = 20)
    private String longitude;

    @Excel(name = "纬度", orderNum = "8", width = 20)
    private String latitude;

    @Excel(name = "布设时间", exportFormat = "yyyy-MM-dd", orderNum = "9", width = 20)
    private Date createTime;

    @ExcelIgnore
    private Integer deviceStatus;

    @Excel(name = "设备状态", orderNum = "10", width = 20)
    private String deviceStatusName;

}
